<?php
include "includeFiles.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<Link href="../uploadfile/ico/<?php echo $C['ICO'];?>" rel="Shortcut Icon">
<meta name="Keywords" content="<?php echo $C['Keywords'];?>">
<meta name="description" content="<?php echo $C['Description'];?>">
<Meta name="Copyright" Content="<?php echo $C['CopyRight'];?>">
<title>登录模板</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link charset="utf-8" rel="stylesheet" href="css/alipay.css">
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script src="./admin/js/checkSubmit.js"></script>
<script language="javascript">
	 function checkContent(dom){
	if(!check_empty(dom.username,"账户名不能为空！")) return false;
	if(!check_empty(dom.password,"密码不能为空！")) return false;
		return true;
	 }
</script>

</head>
<body id="mainbody">
<!--头部登录-->
<div class="log_top">
	<div style="width:980px;height:38px;text-align:right;margin:auto">
	<? if(isset($_SESSION['user_name'])){ echo "欢迎,".$_SESSION['user_name']; 
echo "&nbsp;<a href=\"?action=exit\">安全退出</a>  |<a href='member.php'> 我的账户 </a>";
} else {?><a href="login.php">会员登录</a> | <a href="reg.php">免费注册</a>
<? } ?>
	
    <a href="#">帮助中心</a>
    </div>
</div>
<!--#头部登录-->

<!--头部导航-->
<div class="head">
	<div class="logo"><img src="images/logo.jpg" /></div>
    <ul class="menu">
  	<li><a href="index.php" class="c1">首页</a></li>
        <li><a href="on.php?hid=110" class="c2">2G号码套包</a></li>
        <li><a href="in.php?hid=111" class="c3">3G开户</a></li>
        <li><a href="in.php?hid=112" class="c4">积分商城</a></li>
    </ul>
</div>
<!--#头部导航-->

<!--幻灯片-->
<div id="banner" class="slide-2" coor-rate="0.1" coor="default-banner" role="banner">
      <div class="login-box"></div>
<div class="login-txt">
      <h3 class="log_tit">登录澳海通</h3>
  <form id="form1" name="form1" method="post" action="" class="log_in" onsubmit="return checkContent(this);">  
 
<input name="action" type="hidden" value="login" />
        账户名：<br/>
        	<input name="username" type="text" class="login_text" />
        密码：<br/>
        	<input name="password" type="password" class="login_text" />
        	<br/>
       	<input name="" type="submit" class="login_botton" value="提交" />
    </form>
	
      <a href="reg.php"><img src="images/reg.png" /></a>
</div>
      <ul id="J-slide">
<li class="slide">
        <div class="bg bg-1"></div>
        </li>
<li class="slide">
        <div class="bg bg-2"></div>
        </li>
<li class="slide">
        <div class="bg bg-3"></div>
        </li>
</ul>
<div id="J-slide-number" class="slide-number">
<a href="#"  class="" hidefocus="true" seed="JSlideNumber-slideNumberActive" smartracker="on">1</a>
<a href="#" hidefocus="true" seed="JSlideNumber-link" smartracker="on" class="slide-number-active">2</a>
<a href="#" hidefocus="true" seed="JSlideNumber-linkT1" smartracker="on" class="">3</a></div>
<div id="server-link">
      </div>
</div>
<script type="text/javascript" charset="utf-8">
      araleConfig = {
        combo_host: 'https://a.alipayobjects.com',
        combo_path: '/ar/??/'
      }
    </script>
<script type="text/javascript" charset="utf-8" src="js/arale.core-1.1.js"></script>
<script type="text/javascript" charset="utf-8" src="js/alipay.alipayIndexSimple.base-1.0.js"></script>
<script type="text/javascript">
      var adjust = null, adjustHeight = null,adjustHeightRecord = 0;
      Loader.use('alipay.alipayIndexSimple.main',function(){

        //自适应
        adjust = alipay.index.adjust;

        //图片延时加载
        alipay.index.lazyload($$('noscript'),{
          done:function(){


        //跳转
        alipay.index.banner(4,5000);

    </script>
<script type="text/javascript">
      //banner图片轮转
    if (arale.isIE()) {
      Loader.use('aralex.slider.FadeSlider', function() {
        var fs = new aralex.slider.FadeSlider({
          id: "J-slide",
          triggerId: "J-slide-number",
          triggerEvent: "click",
          activeTriggerClass: 'slide-number-active',
          delay: 5000
        });
      });
    } else {
      (function() {
        var banner = document.getElementById('banner');
        var triggers = $$('#J-slide-number a');
        var index = 1;
        for (i = 0; i < triggers.length; i++) {
          var item = triggers[i];
          item.click(function(e) {
            e.preventDefault();
            slideTo(e.target.innerHTML);
          });
        }
        function slideTo(number) {
          index = parseInt(number);
          banner.className = 'slide-' + number;
          for (i = 0; i < triggers.length; i++) {
            triggers[i].removeClass('slide-number-active');
          }
          triggers[index - 1].addClass('slide-number-active');
        }
        var SLIDE;
        SLIDE = setInterval(function() {
          if (index >= 3) index = 0;
          index++;
          slideTo(index);
        }, 5000);
        E.on(banner, 'mouseover', function() {
          clearInterval(SLIDE);
        });
        E.on(banner, 'mouseout', function() {
          SLIDE = setInterval(function() {
            if (index >= 3) index = 0;
            index++;
            slideTo(index);
          }, 5000);
        });
      })();
    }
      E.on($$('#J-slide-number a'), 'click', function(e){
        e.preventDefault();
      });
    </script>  
<!--#幻灯片-->

<!--主体布局-->
<div class="main">
	<!--box1-->
	<div class="bb1 w980 hauto">
    
	<div class="main_box">
    <img src="images/main_tit1.png" /><Br/><Br/><Br/>
    <div class="w326"><a href="#">申请资格</a> | <a href="#">入会需知</a> | <a href="#">了解澳海通</a></div>
    <img src="images/m_box_1.png" />
    </div>
    
    <div class="main_box ml80" style="width:270px">
    <img src="images/main_tit2.png" /><Br/><Br/><Br/>
    <div class="w270"><a href="#">付款方式</a> | <a href="#">购买须知</a> | <a href="#">更多</a></div>
    <img src="images/m_box_2.png" />
    </div>
    
    <div class="main_box" style="width:270px;float:right">
    <img src="images/main_tit3.png" /><Br/><Br/><Br/>
    <div class="w270"><a href="#">了解会员</a> | <a href="#">安全保障</a> | <a href="#">便捷体验</a></div>
    <img src="images/m_box_3.png" />
    </div>
    
    </div>
    <!--#box1-->
    
    <!--box2-->
    <div class="bb1 w980 hauto pt50">
    
    <div class="main_box2">
    <Br/><Br/>
    <a href="#">澳海通是谁</a> | <a href="#">了解经销商</a>
    </div>
    <div class="main_box3">
    <Br/><Br/>
    最先进的供销模式
    </div>
    <div class="main_box4">
    <Br/><Br/>
    <a href="#">如何购物</a> | <a href="#">新手须知</a>
    </div>
    
    </div>
    <!--#box2-->
    
    <!--页底版权-->
	
	
    <div class="foot">
    	<a href="#">关于澳海通</a> | <a href="#">诚征英才</a> | <a href="#">联系我们</a><br/>
        澳海通版权所有 2013-2014 ICP证：12345678
    </div>
	
	
    <!--#页底版权-->
</div>
<!--#主体布局-->

<!--回到顶部-->
<div style="position:fixed; bottom:0;right:0;z-index:999">
	<a href="#"><img src="images/top.png" /></a>
</div>
<!--#回到顶部-->
</body>
</html>
